package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sky.okhttp.proxy")
@Data
public class OkHttpProperties {
//    private boolean enable;
    //    private String proxyHost;
//    private int proxyPort;
    private int connectTimeout;
    private int readTimeout;
    private int writeTimeout;
    private int maxConnect;
    private int keepAlive;
}
